package pro.spring.inter;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import pro.spring.model.Ainformation;

public interface AinformationMapper {
    int deleteByPrimaryKey(Integer aiId);

    int insert(Ainformation record);

    int insertSelective(Ainformation record);

    Ainformation selectByPrimaryKey(Integer aiId);

    int updateByPrimaryKeySelective(Ainformation record);

    int updateByPrimaryKey(Ainformation record);
    
    //得到总条数
    Integer selectCount();
    
    //分页查询
    List<Ainformation> selectListPage(@Param("offset")Integer offset,@Param("pagesize")Integer pagesize);
}